//
//  DetailShopViewController.m
//  L7_test
//
//  Created by Mac on 11-12-29.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import "DetailShopViewController.h"
@implementation DetailShopViewController
@synthesize shopImg;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
    }
    return self;
}

- (void)viewDidLoad
{
    //设置商家图片
    UIImage *buttonImageNormal = [UIImage imageNamed:@"seven.png"];
    [shopImg setBackgroundImage:buttonImageNormal forState:UIControlStateNormal];
    [super viewDidLoad];
}

- (void)viewWillAppear:(BOOL)animated{
    //设置显示导航栏
    self.navigationController.navigationBarHidden=NO; 
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

- (void)viewDidUnload
{
    [self setShopImg:nil];
    [self setShopImg:nil];
    [super viewDidUnload];
}

- (void)dealloc {
    [shopImg release];
    [super dealloc];
}

@end
